ALMaSS  1.0
The Animal, Landscape and Man Simulation System
PopulationManagerList Class Reference

A small class to hold the pointers to active population managers. More...

#include <PopulationManager.h>

Public Member Functions

 PopulationManagerList ()
void SetPopulation (Population_Manager *p_pm, TTypesOfPopulation a_pt)
Population_ManagerGetPopulation (TTypesOfPopulation a_pt)

Protected Attributes

Population_Managerm_populationlist [TOP_foobar]

Detailed Description

A small class to hold the pointers to active population managers.

Constructor & Destructor Documentation

◆ PopulationManagerList()

PopulationManagerList::PopulationManagerList ( )
671 { for (int i=0; i< TOP_foobar; i++) m_populationlist[i] = NULL; }
@ TOP_foobar
Definition: PopulationManager.h:79
Population_Manager * m_populationlist[TOP_foobar]
Definition: PopulationManager.h:675

References m_populationlist, and TOP_foobar.

Member Function Documentation

◆ GetPopulation()

Population_Manager* PopulationManagerList::GetPopulation ( TTypesOfPopulation  a_pt)

◆ SetPopulation()

void PopulationManagerList::SetPopulation ( Population_Manager p_pm,
TTypesOfPopulation  a_pt 
672 { m_populationlist[a_pt] = p_pm; }

References m_populationlist.

Referenced by CreatePopulationManager().

Member Data Documentation

◆ m_populationlist

Population_Manager* PopulationManagerList::m_populationlist[TOP_foobar]

The documentation for this class was generated from the following file: